using System;
namespace Servlets.Exceptions
{
	public class InvalidParameterException : ServletException
	{
		public InvalidParameterException(string parameterName) : base("Parameter "+parameterName + " is invalid")
		{
		}
		
		public override Api.HttpStatus StatusCode {
			get {
				return Servlets.Api.HttpStatus.STATUS_500_INTERNAL_SERVER_ERROR;
			}
		}
	}
}

